https://stynerobd.com/ruby-cubic-grid/