Adds months_between method to the Date class.