assignment 2 done.