Adds examples for readline related utility functions;

Signed-off-by: hegdeashwin <ashwin.hegde3@gmail.com>