prac3 solutions