Refactor person.rb to use collect method

Also add clarifying variables to methods