StackMiddle : Implementation of stack in which middle element can be fetched in O(1) time