LC-3 simulator written in C using ncurses