Adding some basic tests
Adding `flatten' to flatten a nested list
Introduce setup.py to convert this as library
Files to ignore