programming assignement 2 done