added in lab7 initial code
add in code from email
implement apply_subs for Func, RecFunc