Updated inputoutput.cpp 

It now accepts person header class instead of person.cpp