Implemented multiple stacks in a single array in SingleArrayStack