Multi-base happiness solutions

Multi-base happiness was solved using Scala by 6 contestants. Solution sizes: average 2677 bytes (shortest: 656; longest: 9948).