Added function filterDataByDate(data, month, year)