Updated gitignore and added code