Lesson dependencies

Fixes #47