add gitignore (adapted from hgignore)