Updated the code example in the readme.

Thanks Zn4rK for pointing it out.