Programming exercise that takes date in input as three numbers and prints out chronologically organized dates from binary file