initial attempt at ALU logic