private void calculateToExit()
    {
        int newDirection = 0;
        if (getColumn() > HOME_COLUMN) {
            newDirection = 3;
        } else if (getColumn() < HOME_COLUMN) {
            newDirection = 1;
        } else if (getRow() > HOME_ROW) {
            newDirection = 0;
        } else {
            isAtHome = false;
        }
        setDirection(newDirection);
    }