Updated main(). If there is only one year in the combined file, then the program executes correctly, and does not error out.