Introduced nested loops and PseudoModules.

<-- Pick this.

Signed-off-by: Alexander Kastius <alexander.kastius@student.hpi.uni-potsdam.de>