wall colission detection with  player