The finally homework for course 'C Programming' again. A dict use ncurses in C.