Added given code & .gitignore