Lab 1 solution part 1