first try for simulation of task 2. it does get aborted because of the not yet finished implementation of periodic boundarys