Project 2 update

added functions with returns, procedures and loops