def create_empty_grid(dimensions):
    """ Creates an empty grid with the given dimensions.

    dimensions[0] -> lines
    dimensions[1] -> columns
    """
    return [x[:] for x in [[0]*dimensions[1]]*dimensions[0]]