Added docstrings, style cleanup, added example to readme, fixed logic for instruction search when instructions that don't change the register value.