first code
Fixed header and fire arc calculations of ships in the same hex