My work for COMP 322 (McGill)