implement insertionSort, appropriate set methods, and find algorithms