Completed first pass at Insertion Sort; templated version will follow later