Returns first index of element, or -1 if the sequence does not contain element.
The operation is terminal.
Thanks for your feedback!