Creating two different windows in terminal for realtime input output.