implemented Interative version of finding articualtion points & created new class called StackElement