@Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;

        BrainFuckCode that = (BrainFuckCode) o;

        if (currentPosition != that.currentPosition) return false;
        if (code != null ? !code.equals(that.code) : that.code != null) return false;

        return true;
    }