added faster implementation and gitignore,  updated readme