Added .gitignore file to ignore all swp files. Also added Problem 2 solution, unoptimized.