Updated readme

Added example code (maybe it's too long though)