Removed whitespace.
Added a parse trace function for debugging.
Added parenthesis logic and some tests.