Minor changes

- Better tree representation
- Use booleans for termStr instead of numbers
Expand reductions

Render expanded reductions only when clicked.
Clean shit up