assignment 5 for cs 781 6217734