comp2920 assignment2