library for movement paths in hex/square grid