add code sample to top of readme