update examepl
updated readme with examople code