add generate random person function