http://www.geeksforgeeks.org/design-a-stack-with-find-middle-operation/