Added error handling, refactored Main method, added Minus and Sqrt support. Probably final version.