person class solution