using pipes to chat locally on same computer, 2 terminals in a half duplex manner