Added animation. Added a more general program. Last commit (probably)
Fixed bug-producing unterminated line with cout.
Added a one-liner documentation.