private char findWay(int destinationY, int destinationX) {
        if (destinationY < currentPosY) {
            return 'N';
        } else if (destinationY > currentPosY) {
            return 'S';
        } else if (destinationX < currentPosX) {
            return 'W';
        } else if (destinationX > currentPosX) {
            return 'E';
        } else {
            return 'A';
        }
    }