Treasure solutions

Treasure was solved using MATLAB by 2 contestants. Solution sizes: average 3289 bytes (shortest: 2802; longest: 3777).