if (response[strlen (response) - 1] == '\n')
response[strlen (response) - 1] = '\0';
entry = dict_lookup (answers, response);
if (response[strlen (response) - 1] == '\n')
response[strlen (response) - 1] = '\0';
entry = dict_lookup (answers, response);