Update .gitignore and add thrust example