Lab 12 and Quiz 2 solution