Added AND, EOR and ORA operations

Removed ADC and SBC that were not correctly implemented. Some minor
refactoring here and there.