Immutable DataTable implementation in Scala