Python algorithm for taking two dates as input and returning the number of days between, as done in Udacity's CS101 course. Attempting to translate to Ruby.