updated in-lab code for week 2 with instructor notes