reads opcodes from memory
added some branching
initial commit