Update chess.py

built functionality to list all possible moves and started extending interface to allow automation from outside of the module.