Principles of Reactive Programming assignment