Source codes for Ass1 in ECON1102/7074 (2014, S1)