Assembler and simulator for the Princeton TOY machine