Removed initialized method from the Year class and changed @year from an instance variable to a regular variable