updated person.cpp

fixed the date problem
and printing map problem
and changed char gender to string gender

and added a new function for password getPwd to get the real password
and getPassword to get passwords in ****