Makes ToDoList implement Enumerable. Fixes some functions.
Encapsulates comparing functions and filters in new Module. Makes filter function working. Cleans some lines. Adds some style changes.