complete recfun homework