Implemented A* agenda and changed implementation so that action state
pairs are now wrapped in a class called nodes to allow us to make sure
that they are comparable.

Need to restore Depth First search agenda.