Programming assignment of cs252 -  SJSU