EOL. Updated lookahead AI to use new underscore separated names; updated Magic module to have a test function that copies state and returns a new possible state