a terminal emulator wannabe - a task given in  OS course at JCE