Lab 2: Switches and torches

Building a library