Functions

Translation of functions from AST to SAST is now working.  
there should be a newline at the end of the file