Got insertion sort to work, and tested it.