working on assignment1 cs283