Add debug mode flags

Fixes #29.
Adds debug flags for printing parse trees and expression trees.