Update README with example code and better formatting.