Principles of Reactive Programming Assignment 2