Solution to OOP PHP calendar test