working hierarchy map creator
hierarchymap upgrading to a* algorithm usage. in progress