added insertion sort and test cases