Comp 2920 assignment 2