The indexOf method: returning the position of an element