A python implementation of chess