ugly refactor of GitP05 for hexagon boundary

trying to move the hexagon inwards so it doesn't need Sinatra; making
tests not need sinatra either. 1st step is ugly hack with global
$basquet to get same behavior so can work out what the new hexagon
behavior should be.