Laboratory 2 and some of 3 and 9

Lab work for AI.