fixed bugs in ttt.rb changed any? to all?