added assignment 3 cs417