Wrote the basic calc interpreter.