import numpy as np


def rotate(points, direction='clockwise'):
    """Rotate given points.

    Parameters
    ---------
    points: ndarray
        2D numpy array representing list of points
    direction: str, optional
        The direction to rotate the points. Could be 'clockwise' or 'anti-clockwise'.

    Returns
    -------
    ndarray
        2D numpy array representing the new rotated points.
    """
    # Your Code Here
    pass
