Adding C examples for builtin profiles
Updated example to use constants
Java example
Minor README fixes
Merge pull request #48 from rosemwahlin/master

Added C and Java examples, fixed README mistake.