Add Stack for int type and generic type