Add .gitignore. Fix absent "iostream" include.