>>-index(item)-------------------------------------------------><
Returns the index of the specified item within the queue. If the target item appears at more than one index, the first located index will be returned. Returns the Nil object if the queue does not contain the specified item. Item equality is determined by using the == method of item.