CSC337 Homework assignment