\documentclass{article}
\usepackage{printsudoku}
\usepackage{createsudoku}

\begin{document}
\section{Sudoku ausgeben}
\begin{center} 
\sudoku{testsudoku.sud} 
\end{center}

\section{Zufaelliges Sudoku generieren}
\generategrid  % Use this solution to generate a new puzzle
\generategrid  % Use this solution to generate a new puzzle
\generategrid  % Use this solution to generate a new puzzle
\end{document} 