parse input strings properly in main
add example input text
update readme