added methods to person.rb
changed methods and tests
added some comments