Update History.cpp

added a error check for if there is no data for that date, added a print purchases for customer function