Idea for old assignment 10.
Fix.
Implement periodical boundary conditions.