Added decorator method for state machine, plus simple test code in Quoridor.py