An implementation of the game Chess