\documentclass{article}
\usepackage{youngtab}
\begin{document}
\yng(5,3,2)
If you call this Young tableau $\vcenter{\hbox{\yng(5,3,2)}}$ a Ferrer diagram
you'll find at least three packages that can draw such things for you:
\texttt{young}, \texttt{youngtab} and \texttt{ytableau}.
\end{document}