wrote test to find distances to walls