Update for gitignore file
Modifiactions for algorithm