Fixed for loop syntax.
Finished writeCall.
Finished writeReturn
Added writers to dispatcher, passes SimpleFunction test.
Merged FunctionWriter branch to fix problems from before.