Completed the FSM-based ALU task