Changed code generator to initially write code to line listing instead of file. This is so procedure code can be organized in blocks. There are memory corruption erros and this also needs to be committed for debugging on another computer.