Cannot Run Program Python Error Function Definition Is Not Allowed