import random


def generate_random(power):
    """
    Generates 5 random lists of a certain size
    :param power: power of 2
    :return: generated lists
    """
    randlist = []
    for i in range(5):
        experiment = []
        for j in range(2 ** power):
            experiment.append(random.randint(0, 10000))
        randlist.append(experiment)
    return randlist