Coding did for csc209 course at University of Toronto