added .gitignore; minor tweaks to shiftr()
added .gitignore; minor tweaks to shiftr()