Completed basic recursion exercises