assignment3 solved