CS 310 ‘Algorithms Assignment