added gitignore file and modified index