Position queens on the chessboard so that no two attack each other.