Adding source code.
Added gitignore.