assignment 2 for info 343