Added the victory script, tests, and docs

:D