how to create a calculator in python