Added better multiline handling.

When newline is present in the code, the 'exec' symbol is used.
With no newline, 'single' is used and it behaves like a regular
interpreter. With 'exec' though, you have to explicitly print()
stuff you want to evaluate.