Updated Person 1 Java File with implementation