Code for getting wall coordinates (currently testing it).