Added lab 2 code.