Add Layouter class to abstract looping in layouting.
Output duration when done with layouting.
Performance tuning of the repulse (now n! instead of n^2).