99 Scala problems (solutions for 23-28)