Add Ex2_04.scala despite type errors