my solutions to lab 6