Adds a solver for Quiz 1: Task 1 and 2.