public void addPath(path p)
 {
     homeWay.Add(p);
 }