Changes and adding pseudo code for the algorithm chapter
Fix .gitignore