Added Java file.
Added entries to .gitignore file