I solved the task, but my solution is rather ugly i think as it uses 3 for-loops. any ideas for more elegant/efficient solutions? sometimes i miss something like standard/best practice examples for the tasks..