Update readme example

first example takes input from args while the other from stdin