used tuple instead of dynamic list
(probably better?)
fixed grid.isValid always returning True value
added strict parameter to getTile
more printage