Lab 3 part A solution