added module for reading infinite string
added eof error for input stream reading
added function for initialisation
added function to release input string
created a main loop