Filled out the calc() method for the Person1 class