Refactor hexgrid code: add many helper functions; cleanup; fix wrong function calls.
Merge branch 'refactor' of github.com:beckbaibai/enemy_unknown into refactor