Sorry if I don't put only the code here but the instructions says:
When writing this code, you can use any language you're comfortable with.
* The code must be well tested ...
* ... documented if necessary
* ... treat the quality of the code as if it was ready to ship to production.
So, I think the best way to do that is using a git repository.