README.md: adapted example-program to new API