Simplified how InstructionSequence.search() works, converted InstructionSequence to subclass of list, general addition of comments, re-org, and cleanup.