Finished target problem in assignment2