added an implementation of a stack using arrays as the underlying data structures.