A Ruby implementation of the Herbert game from Imagine Cup.