Fixed: crash when checking isEmpty(x,y) outside board. Now gives false