first revision of alu.py