add python simulation of alu