added table of regex syntax

other minor fixes
move state machine lab to Python

Lab is not really an algorithm, but more a programming specific lab.