Simple calculator using python