Refactoring:
Change function getch for getchar.(getch(), is no in linux).
Fix function readFile.