\documentclass[a4paper,12pt]{article}

\usepackage[english]{babel}     % fuer deutsche Einstellungen
% \usepackage[german]{babel}
% \usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}   % fuer Umlaute
\usepackage{amssymb}
\usepackage{amsfonts}
\usepackage{epsfig}             % fuer Abbildungen
%\usepackage{german}
\usepackage{url}
\usepackage{mathcomp}
% 
\usepackage{amssymb}
\usepackage{amsmath}
\usepackage{amsthm}
\usepackage[autolanguage]{numprint}
\usepackage{siunitx}

\usepackage{tikz}
\usepackage{tikz,fullpage}
\usetikzlibrary{arrows,shapes}
\usepackage{float}

\usepackage{hyperref}
\usepackage{enumerate}
\usepackage{multicol}

\clubpenalty = 10000
\widowpenalty = 10000 \displaywidowpenalty = 10000

\relpenalty=9999
\binoppenalty=9999

\newcommand*{\xMax}{24}%
\newcommand*{\yMax}{24}%

\begin{document}

\newcommand{\presetDta}{
\begin{tikzpicture}[scale=0.8]\draw[step=1.0cm,color=gray] (0,0) grid (9, 9);

\draw [fill=black!50] (0, 8)rectangle (1, 9);\node at (0.5, 8.5)  {};\draw [fill=black!50] (1, 8)rectangle (2, 9);\node at (1.5, 8.5)  {};\draw [fill=black!50] (2, 8)rectangle (3, 9);\node at (2.5, 8.5)  {};\draw [fill=black!50] (3, 8)rectangle (4, 9);\node at (3.5, 8.5)  {};\draw [fill=black!50] (4, 8)rectangle (5, 9);\node at (4.5, 8.5)  {};\draw [fill=black!50] (5, 8)rectangle (6, 9);\node at (5.5, 8.5)  {};\draw [fill=black!50] (6, 8)rectangle (7, 9);\node at (6.5, 8.5)  {};\draw [fill=black!50] (7, 8)rectangle (8, 9);\node at (7.5, 8.5)  {};\draw [fill=black!50] (8, 8)rectangle (9, 9);\node at (8.5, 8.5)  {};\draw [fill=black!50] (9, 8)rectangle (10, 9);

\draw [fill=black!50] (0, 7)rectangle (1, 8);\node at (0.5, 7.5)  {};\draw [fill=black!50] (1, 7)rectangle (2, 8);\node at (1.5, 7.5)  {};\draw [fill=white] (2, 7)rectangle (3, 8);\node at (2.5, 7.5)  {};\draw [fill=white] (3, 7)rectangle (4, 8);\node at (3.5, 7.5)  {};\draw [fill=black!50] (4, 7)rectangle (5, 8);\node at (4.5, 7.5)  {};\draw [fill=white] (5, 7)rectangle (6, 8);\node at (5.5, 7.5)  {};\draw [fill=white] (6, 7)rectangle (7, 8);\node at (6.5, 7.5)  {};\draw [fill=white] (7, 7)rectangle (8, 8);\node at (7.5, 7.5)  {};\draw [fill=white] (8, 7)rectangle (9, 8);\node at (8.5, 7.5)  {};\draw [fill=black!50] (9, 7)rectangle (10, 8);

\draw [fill=black!50] (0, 6)rectangle (1, 7);\node at (0.5, 6.5)  {};\draw [fill=white] (1, 6)rectangle (2, 7);\node at (1.5, 6.5)  {};\draw [fill=white] (2, 6)rectangle (3, 7);\node at (2.5, 6.5)  {};\draw [fill=white] (3, 6)rectangle (4, 7);\node at (3.5, 6.5)  {};\draw [fill=black!50] (4, 6)rectangle (5, 7);\node at (4.5, 6.5)  {};\draw [fill=white] (5, 6)rectangle (6, 7);\node at (5.5, 6.5)  {};\draw [fill=yellow] (6, 6)rectangle (7, 7);\node at (6.5, 6.5)  {$B$};\draw [fill=white] (7, 6)rectangle (8, 7);\node at (7.5, 6.5)  {};\draw [fill=white] (8, 6)rectangle (9, 7);\node at (8.5, 6.5)  {};\draw [fill=black!50] (9, 6)rectangle (10, 7);

\draw [fill=black!50] (0, 5)rectangle (1, 6);\node at (0.5, 5.5)  {};\draw [fill=white] (1, 5)rectangle (2, 6);\node at (1.5, 5.5)  {};\draw [fill=white] (2, 5)rectangle (3, 6);\node at (2.5, 5.5)  {};\draw [fill=white] (3, 5)rectangle (4, 6);\node at (3.5, 5.5)  {};\draw [fill=black!50] (4, 5)rectangle (5, 6);\node at (4.5, 5.5)  {};\draw [fill=black!50] (5, 5)rectangle (6, 6);\node at (5.5, 5.5)  {};\draw [fill=white] (6, 5)rectangle (7, 6);\node at (6.5, 5.5)  {};\draw [fill=white] (7, 5)rectangle (8, 6);\node at (7.5, 5.5)  {};\draw [fill=white] (8, 5)rectangle (9, 6);\node at (8.5, 5.5)  {};\draw [fill=black!50] (9, 5)rectangle (10, 6);

\draw [fill=black!50] (0, 4)rectangle (1, 5);\node at (0.5, 4.5)  {};\draw [fill=white] (1, 4)rectangle (2, 5);\node at (1.5, 4.5)  {};\draw [fill=black!50] (2, 4)rectangle (3, 5);\node at (2.5, 4.5)  {};\draw [fill=white] (3, 4)rectangle (4, 5);\node at (3.5, 4.5)  {};\draw [fill=white] (4, 4)rectangle (5, 5);\node at (4.5, 4.5)  {};\draw [fill=black!50] (5, 4)rectangle (6, 5);\node at (5.5, 4.5)  {};\draw [fill=black!50] (6, 4)rectangle (7, 5);\node at (6.5, 4.5)  {};\draw [fill=white] (7, 4)rectangle (8, 5);\node at (7.5, 4.5)  {};\draw [fill=black!50] (8, 4)rectangle (9, 5);\node at (8.5, 4.5)  {};\draw [fill=black!50] (9, 4)rectangle (10, 5);

\draw [fill=black!50] (0, 3)rectangle (1, 4);\node at (0.5, 3.5)  {};\draw [fill=white] (1, 3)rectangle (2, 4);\node at (1.5, 3.5)  {};\draw [fill=black!50] (2, 3)rectangle (3, 4);\node at (2.5, 3.5)  {};\draw [fill=white] (3, 3)rectangle (4, 4);\node at (3.5, 3.5)  {};\draw [fill=black!50] (4, 3)rectangle (5, 4);\node at (4.5, 3.5)  {};\draw [fill=black!50] (5, 3)rectangle (6, 4);\node at (5.5, 3.5)  {};\draw [fill=black!50] (6, 3)rectangle (7, 4);\node at (6.5, 3.5)  {};\draw [fill=white] (7, 3)rectangle (8, 4);\node at (7.5, 3.5)  {};\draw [fill=black!50] (8, 3)rectangle (9, 4);\node at (8.5, 3.5)  {};\draw [fill=black!50] (9, 3)rectangle (10, 4);

\draw [fill=black!50] (0, 2)rectangle (1, 3);\node at (0.5, 2.5)  {};\draw [fill=white] (1, 2)rectangle (2, 3);\node at (1.5, 2.5)  {};\draw [fill=black!50] (2, 2)rectangle (3, 3);\node at (2.5, 2.5)  {};\draw [fill=white] (3, 2)rectangle (4, 3);\node at (3.5, 2.5)  {};\draw [fill=white] (4, 2)rectangle (5, 3);\node at (4.5, 2.5)  {};\draw [fill=white] (5, 2)rectangle (6, 3);\node at (5.5, 2.5)  {};\draw [fill=white] (6, 2)rectangle (7, 3);\node at (6.5, 2.5)  {};\draw [fill=white] (7, 2)rectangle (8, 3);\node at (7.5, 2.5)  {};\draw [fill=white] (8, 2)rectangle (9, 3);\node at (8.5, 2.5)  {};\draw [fill=black!50] (9, 2)rectangle (10, 3);

\draw [fill=black!50] (0, 1)rectangle (1, 2);\node at (0.5, 1.5)  {};\draw [fill=yellow] (1, 1)rectangle (2, 2);\node at (1.5, 1.5)  {$A$};\draw [fill=black!50] (2, 1)rectangle (3, 2);\node at (2.5, 1.5)  {};\draw [fill=white] (3, 1)rectangle (4, 2);\node at (3.5, 1.5)  {};\draw [fill=white] (4, 1)rectangle (5, 2);\node at (4.5, 1.5)  {};\draw [fill=white] (5, 1)rectangle (6, 2);\node at (5.5, 1.5)  {};\draw [fill=white] (6, 1)rectangle (7, 2);\node at (6.5, 1.5)  {};\draw [fill=yellow] (7, 1)rectangle (8, 2);\node at (7.5, 1.5)  {$G$};\draw [fill=white] (8, 1)rectangle (9, 2);\node at (8.5, 1.5)  {};\draw [fill=black!50] (9, 1)rectangle (10, 2);

\draw [fill=black!50] (0, 0)rectangle (1, 1);\node at (0.5, 0.5)  {};\draw [fill=black!50] (1, 0)rectangle (2, 1);\node at (1.5, 0.5)  {};\draw [fill=black!50] (2, 0)rectangle (3, 1);\node at (2.5, 0.5)  {};\draw [fill=black!50] (3, 0)rectangle (4, 1);\node at (3.5, 0.5)  {};\draw [fill=black!50] (4, 0)rectangle (5, 1);\node at (4.5, 0.5)  {};\draw [fill=black!50] (5, 0)rectangle (6, 1);\node at (5.5, 0.5)  {};\draw [fill=black!50] (6, 0)rectangle (7, 1);\node at (6.5, 0.5)  {};\draw [fill=black!50] (7, 0)rectangle (8, 1);\node at (7.5, 0.5)  {};\draw [fill=black!50] (8, 0)rectangle (9, 1);\node at (8.5, 0.5)  {};\draw [fill=black!50] (9, 0)rectangle (10, 1);
\end{tikzpicture}

\vspace{0.25cm}
}

\newcommand{\presetOone}{
\renewcommand*{\xMax}{23}%
\renewcommand*{\yMax}{23}%
\begin{tikzpicture}[scale=0.3, axis/.style={very thick, ->, >=stealth'}]
    % grid
    \draw[very thin, gray!50] (0,0) grid (\xMax, \yMax);
    
    % axis
    \draw[axis] 
      (0,0) -> coordinate (x axis mid) (\xMax,0);
    \draw[axis] 
      (0,0) -> coordinate (y axis mid) (0,\yMax);

    % labels
    \foreach \i in {0,5,...,\xMax} {
      \draw [very thick] (\i cm,5pt) -- (\i cm,-5pt) node [below] at (\i,0) {\i};
    }
    \foreach \i in {0,5,...,\yMax} {
      \draw [very thick] (5pt,\i cm) -- (-5pt,\i cm) node [left] at (0,\i) {\i};
    }

    % O1
    \draw[thick] (4, 3) -- (7, 12) -- (20, 9) -- (15, 19) -- (2, 20) -- cycle;
\end{tikzpicture}
}


\newcommand{\presetOtwo}{
\renewcommand*{\xMax}{51}%
\renewcommand*{\yMax}{26}%
\begin{tikzpicture}[scale=0.25, axis/.style={very thick, ->, >=stealth'}]
    % grid
    \draw[very thin, gray!50] (21,0) grid (\xMax, \yMax);
    
    % labels
    \foreach \i in {25,30,...,\xMax} {
      \draw [very thick] (\i cm,-0.25) -- (\i cm,0.25) node [below] at (\i,0) {\i};
    }
    \foreach \i in {5,10,...,\yMax} {
      \draw [very thick] (20.75,\i cm) -- (21.25,\i cm) node [left] at (21,\i) {\i};
    }
    
    % O2
    \draw[thick] (27, 1) --
					 (35, 1) --
					 (38, 4) -- 
					 (34, 9) --
					 (44, 8) --
					 (50, 19) --
					 (44, 25) --
					 (24, 25) --
					 (30, 18) --
					 (24, 10) -- cycle;
					 
					 
\end{tikzpicture}
\vspace{0.25cm}
}
\begin{multicols}{2}

\presetDta

\presetDta

\presetDta

\presetDta

\presetDta

\presetDta

\end{multicols}

\clearpage 

\begin{multicols}{2}

\presetOone

\presetOone

\presetOone

\presetOone

\presetOone

\presetOone

\end{multicols}


\clearpage 

\begin{multicols}{2}

\presetOtwo

\presetOtwo

\presetOtwo

\presetOtwo

\presetOtwo

\presetOtwo

\end{multicols}

\end{document}
