Structure code in place. Next work on the functions

The interpreter works as intended. Now I need to complete the functions.
Also, clean up the code.