private boolean runIntoAttackingSpace() {
        //Returns false if none had to be avoided to move
        Boolean status = false;
        for (int i = 0; i < allPlayers.size(); i++) {
            SeenPlayer player = allPlayers.get(i);
            if (player.distance < 5.0 && player.direction > -15 && player.direction < 15) {
                //If a player has to be avoided then set direction to +-45 to stop them colliding badly
                if (player.direction < -15.0) {
                    finalTurnDirection = player.direction - 45;
                } else {
                    finalTurnDirection = player.direction + 45;
                }
                finalRunSpeed =  JOGSPEED;
                //If a player has to be avoided then return true
                status = true;
            }        
        }
        //Noone had to be avoided so turn towards the opp goal
        if (status == false) {
            finalTurnDirection = directionOpponentGoal;
        }
        //If the player list hasn't been updated then the player is offside or is off pitch etc
        if (!updatedThePlayerList) {
            //If the player list hasn't been updated then something is wrong so turn around
            finalTurnDirection = 180;
        }  
        return status;
    }