Creating a simple calculator in python to practice parsing and make an interpreter