add java and c solutions
edit README.md