add gitignore for .dat and .history files