Add vim undo files to gitignore
Change matches array elements from arrays with two elements to objects with pos and length properties