Added ThreeStacks class to contain 3 stacks in a single array structure