added gitignore and sample code from Goldstein's website