I implemented upperBound() and updated .gitignore

I implemented upperBound() and added npm-debug.log to .gitignore for this project.