adding recfun (w1 assignment) that i just completed