Fix example in README
Move example code up