random NQueens - first implementation