Adding example and fixing code.
Updating README and adding build instructions.
Updating rEADME example.