Solve Assignment 3