Implements solve. Checks board if it is solved