Fixed bugs in reptition when 1 word is left
Added file to git ignore