Functions

Translation of functions from AST to SAST is now working.  
i think there might've been miscommunication. I was commenting on `args_to_type` to be clear