A basic calculator which accept String input.