override of the function yy_input to use the library readline as bash does
implementing history and some basic completation