Added code files. Updated .gitignore.