def create_dictionary(results):
    """Creates a dictionary from a MySQL fetched results.

    This returns a dictionary from the MySQL results after a query from the DB.
    It assumes there are two columns in the results and reads through all of
    the results, making them into a dictionary.

    Args:
        results (list): a list of the results returned from a MySQL query

    Returns:
        dict: dictionary with first column as key and second as values
    """
    map_dict = dict()
    for (raw, mapped) in results:
        map_dict[str(raw)] = str(mapped)
    return map_dict