filled out method: 'String calc(String commit)' in Person1.java