Update README.md

Added build badge and updated example.