reformatted code
updated gitignore