Added C and Java examples, fixed README mistake.