Got the sorting challenge working. Fixed a bug in DEC and INC in the emulator.