Add a functional chess library

- Add functional chess lib from https://npmjs.org/package/chess.