Added some code for hexes
Added some code for hexes