bug fixing, refined executor. A ficticious runTile function has been added to tile.c to simulate the execution of a tile