solved euler19 with datetime module