Update 06.scala

Superb quality solutions. Best I could found. Just noticed some minor bug. And Thanks for your great job you did here.