building hexes and basic movement on board

in javascript, need to convert it to Java in nearest future