Added gitignore file
Reformatted code.