implemented first java solution, updated README and .gitignore