adds back an impl of stacks for maps and fix an off-by-one error
Add the PEEK instruction to help with lookaheads.