reformatted homework week1, added tests for recurse-sort and leapyear