first homework assignment for UCSC Embedded Firmware Essentials course, Fall 2014