Different ways of implementing singleton objects in java
Added the next() in-order iterator method
Implemented reverse using 3 pointer technique and tested