Justin's updated assembler.py