public boolean isWalls(){
    	if(this.heading%(Math.PI/2)!=0) return false;
    	if((this.x>=17 && this.x<=19) || (this.x>=781 && this.x<=783) || (this.y>=17 && this.y<=19) || (this.y>=581 && this.y<=583) ) return true;
    	return false;
    }