all prelimnearly functions for dijkstars completed