Added file to calc year status, and a test php to test to see if the function works