Added .gitignore file.
Removed unused variables.