A generic game grid library for managing worlds, levels and boards composed of square tiles