Update YearList.java

Contains the list of all the years in a study, numbered automatically starting at 1. Contains add and remove functions to add or remove years with a given number.