Implementation of Artificial Intelligence for Best Moves using Chessboard