Made it produce a valid ical for the first week.

Also coverted to python 2.7 because of the library I need.