public void increment() {
        lock.lock();
        if (!shouldPrint && isIncreasing) {
            val = val + 1;
            if (val == 5) {
                isIncreasing = false;
            }
            shouldPrint = true;
        }
        lock.unlock();
    }
A class that has 5 threads - two to increment the myVar variable, two to decrement the myVar variable and one to print the value of myVar.
Implement increment(), decrement() and printVar() methods such that the following series is printed:
0 1 2 3 4 5 4 3 2 1 0 1 2 3 4 5 4 3 2 1 ... (repeating)
src/com/interview/multithreaded/PrintInSequence.java