Update main.lua

--added bitwise operations and updated isometricTilemap.setTile call accordingly, 
bit operations taken from TiledAsWorldEditor (https://github.com/1dot44mb/gideros/tree/master/tools/TiledAsWorldEditor)