Completed InsertionSort. Properly sorts arrays with duplicate numbers as well as twenty elements