added badInsertionSort for testing purposes