def get_layers(data_raw, width, height):
    """
    Takes raw input data string and splits it into layers, based
    on the width and height of the image received.
    
    Returns a list with each entry being a single layer of the
    image.
    """
    
    layer_list = []
    image_size = width * height
    
    
    for i in range(0, len(data_raw), image_size):
        layer_list.append(data_raw[i:i+image_size])
        
    return layer_list