Simple chatting application written in python