Other version with wall following. Does not seem to get stuck but makes circles that go away as the persistance of wallfollowing diminishes.