added gitignore, formatting