assignment3-solution