added python-like exit commands to cli wrapper
added basic number overflow checking to engine