Updated readme to include a code example