Complete the following piece of code. Note that the method
indexOf is a method of the class SimpleArrayList : Refer to the handout.
Sequential search for first “equal” object
/** return first location of object o in this list if found, otherwise return –1 */
public int indexOf(Object o) {
}