def rotate_list(l, n=1):
    """Takes a list and returns it with the last 'n' elements placed in the beginning
    
    Parameters
    ----------
    l : list
        list of elements
    n : int
        number of elements in the end of the list to be moved to the beginning
        
    Returns
    -------
    reordered_list : list
        reordered list
    """
    reordered_list = l[-n:] + l[:-n]
    
    return reordered_list