print year function now working and passing all tests.