bell man ford working fine.. adjacency array declared as pedifined as I was getting segmentation fault error on my laptop