Trying to make a command line messenger using python