def initialize_distribution(states, actions):
    """
    initialize a distribution memory
    :param states: a list of states
    :param actions: a list of actions
    :return: a dictionary to record values
    """
    dist = {}

    for i in states:
        dist[i] = {}
        for j in actions:
            dist[i][j] = [0.0]

    return dist