Implementation of SIC assembler in python