binary code assignment written for LC-3 16-bit sim