Completed Assignment 1 Recfun