Update YearNode.java

Contains one year, with a list of periods in that year. Initializes with 2 periods.