def createList(value, n):
    """
    @param value: value to initialize the list
    @param n: list size to be created
    @return: size n list initialized to value
    """
    return [value for i in range (n)]