a simulator of alu