List Having Troubles Implementing Dijkstra Algorithm In Ocaml Stack

List Having Troubles Implementing Dijkstra Algorithm In Ocaml Stack