ishida: update statemachine, Map, Algorithm.
ishida: marge and debug.