Fixed compiler warning, improved doc, ignore generated file

Fixed compiler warning: only unused variables (detected by GCC 4.9.1 with extra warnings turned on). 
Improved doc: std::sort is a quicksort
Ignore generated files by adding their names to .gitignore