class Hamster::Stack

def pop

Returns a copy of self without the top item.
def pop
  copy = @list.cdr
  if !copy.equal?(@list)
    self.class.new(copy)
  else
    self
  end
end