Software suite for ranking chess positions and accurately estimating the number of legal chess positions