Functions

Translation of functions from AST to SAST is now working.  
I've never completely understood this, but generally files should end in newlines. It was a lint error at my last place of work.
http://unix.stackexchange.com/questions/18743/whats-the-point-in-adding-a-new-line-to-the-end-of-a-file