Create Stack trait and ArrayStack impl