start and goald added as node and nearest stations are distance and added as arc