Updated plan to use an instruction mapping instead of an if statement

This is the next step in #997 

cc @asmeurer @ilanschnell 
Fix this typo everywhere to "InvalidInstruction"  (there needs to be an 'l' between the 'a' and the 'i')