Full set of solutions to Lab 1 (by SJS)