Moved code to src subfolder
Changed calculation for retrieving tileset columns/rows
It should floor because one does not care for partial tiles