corrected statement seperator
changed function application syntax: 'f(x, y, z)' is now 'f x y z'
added 'DoWhile' statement