Moving data directory for tests.
It took embarassingly long to write a simple recursive function.
Adding unit tests. There are a few cases which are more difficult to test that I'm not covering here. Because I'm lazy.
Updating readme with usage examples.