python interface for mine-sweeper competition