Add struct to pathfind for building a cost-map

In the cost-map for a unit each hex is mapped
to the cost the unit will need to reach this hex.
Extends find_routes() to add this functionality.

See also comment on GitHub.