Add base case test.
Refactor generation simulation.
Add animation delay.