wrote a person class