stack can be resized after full
Insertion sort with premtive test cases