moving tests to their own folder... and updating the readme.
example input file renamed. main function updated.