C programs for UofT's APS106 for  Winter 2014