HW4

Fixed Some Issues, bugs in recursion though