Homework for Principles of Reactive Programming course