Added console for leap year testing
added comments