fixed readme typos and example code