Add gitignore and sample codes