Update Person.java

Added name variable in Person class and inputName to be passed into constructor.