def node(location, facing=(0, 0), distance=0, speed=0, to_do='none'):
    """
    Node object constructor.

    Parameters
    ----------
    location: location of the node (tuple(int, int)).
    facing: facing of the node (tuple(int, int)).
    distance: distance to the objective (int).
    speed: speed of the node.
    to_do: Order to do.

    Return
    ------
    node: path finding node (dic).

    Version
    -------
    Specification:  Nicolas Van Bossuyt (v1. 28/04/17)
    Implementation: Nicolas Van Bossuyt (v1. 28/04/17)
    """
    return {'location': location, 'facing': facing, 'distance': distance, 'speed': speed, 'to_do': to_do}