Completed calc method for Person3.java