add temp files to gitignore. Swap in new successors algorithm