Update readme with an example that doesn't use dynamic allocation