a small python exercise project on GUI chatroom