Added doc for opcode. Added to gitignore.
Added code back, which got deleted when removing debug prints.