added working version of the source code with documentation
Added README, .gitignore and LICENSE file to repo