chess algorithm generator. To generate algorithm please implement proper default move functions.