Created function that could be reused to increment date by given amount(taking all months and  leap years into account)