Generic Stack for fixed size arrays