Code for ECEC 304 Spring 2013