estimated cost to goal function implemented. fixes #10.
minor refactoring.
fixes #10.
minor refactoring.
agent using a priority queue fixes #9.