added stack.rb