git the priority order of nodes in the frontier the right way round
completed solver class and fixed problem with delting nodes from frontiers