created reachable tile method and test for it