Simple calculator written in C#