the nine problems solved in ruby.