Core Training solutions

Core Training was solved using Scala by 6 contestants. Solution sizes: average 1382 bytes (shortest: 717; longest: 1693).