Implemented functions (if) and a crude (define)