A naive implementation of a two-pass LC-3 assembler