LC3 Simulator written in C for a 2110 assignment