Added codegen to functions with parameters, created binary expression code gen, bug fixes