Use set literals instead of constructor + list (it seems this is a python 3.0 feature backported to 2.7
operations.insert_lessons implementation (with tests)