obstacle.py works but does NOT produce a good solution