void CalcPath(Vector3 point)
    {
        switch (algo)
        {
        case Algo.BFS:
            Path = BFSObject.CalcPath(transform.position, point);
            break;

        case Algo.A_Star:
            Path = ASObject.CalcPath(transform.position, point);
            break;

        case Algo.DFS:
            Path = DFSObject.CalcPath(transform.position, point);
            break;

        case Algo.Dijikstra:
            Path = djkObject.CalcPath(transform.position, point);
            break;
        }

        foreach (Nodes n in Path)
        {
            Debug.Log("Path: " + n.PosX + ":" + n.PosY);
        }
        cnt = Path.Count - 1;
    }