Implementation of a simple Java generic Stack with basic functionality of push, pop, peek, isEmpty, getMin, getMax, all of which happen in constant time -- Big O(1)