Space Emergency solutions

Space Emergency was solved using OCaml by 2 contestants. Solution sizes: average 2256 bytes (shortest: 1671; longest: 2850).