Marbles solutions

Marbles was solved using Java by 4 contestants. Solution sizes: average 4825 bytes (shortest: 3037; longest: 11223).