codes for the assignments in CSC411 at University of Toronto(Prof Richard Zemel)