public static int stationTime(int x, int y, int nextStation) {
        switch (nextStation) {
            case 1:
                if (s1 == steps)
                    return 2;
                break;
            case 2:
                if (s2 == steps)
                    return 3;
                break;
            case 3:
                if (s3 == steps)
                    return 4;
                break;
            default:
                return 0;
        }
        return 0;
    }