added gitignore
small code changes