Center of Mass solutions

Center of Mass was solved using Perl by 9 contestants. Solution sizes: average 1378 bytes (shortest: 493; longest: 1946).