a simple calculator written in haxe