------art_20182_10535670.1173800211872
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Here's my SimFrost solution. It was done by Saturday night, but I so
wanted to get images working.
Thanks James Edward Gray II for the PPM solution

------art_20182_10535670.1173800211872
Content-Type: application/x-ruby; name=SimFrost.rb
Content-Transfer-Encoding: base64
X-Attachment-Id: f_ez8ib19a
Content-Disposition: attachment; filename="SimFrost.rb"

IyEvdXNyL2Jpbi9ydWJ5CgpjbGFzcyBBcnJheQogIGRlZiBsb29wX2xlZnQ7IHB1c2ggc2hpZnQ7
IGVuZAogIGRlZiBsb29wX3JpZ2h0OyB1bnNoaWZ0IHBvcDsgZW5kCmVuZAoKbW9kdWxlIFNJTUZS
T1NUCiAgY2xhc3MgUG9pbnQKICAgIGRlZiBpbml0aWFsaXplKHN0YXRlPW5pbCkKICAgICAgQHN0
YXRlID0gc3RhdGUKICAgIGVuZAogICAgYXR0ciA6c3RhdGUsIHRydWUKICAgIGRlZiB0b19zCiAg
ICAgICggQHN0YXRlID09IDp2YXBvciA/ICcuJyA6ICggQHN0YXRlID09IDppY2UgPyAnKicgOiAn
ICcgKSApCiAgICBlbmQKICAgIGRlZiBjb2xvcgogICAgICAoIEBzdGF0ZSA9PSA6dmFwb3IgPyBb
MCwwLDI1NV0ucGFjaygiQyoiKSA6IAogICAgICAgICAgKCBAc3RhdGUgPT0gOmljZSA/IChbMjU1
XSozKS5wYWNrKCJDKiIpIDogKFswXSozKS5wYWNrKCJDKiIpICkgKQogICAgZW5kCiAgZW5kCgog
IGNsYXNzIENlbGwKICAgIGNsYXNzIDw8IHNlbGYKICAgICAgZGVmIHVwZGF0ZSggKnBvaW50cyAp
I3RsLCB0ciwgYnIsIGJsICkKICAgICAgICBpZiBwb2ludHMuYW55P3t8cHxwLnN0YXRlPT06aWNl
fQogICAgICAgICAgcG9pbnRzID0gcG9pbnRzLm1hcHt8cHwgcC5zdGF0ZSA9IDppY2UgdW5sZXNz
IHAu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vcGVuKEBpbWFnZSwgJ3cnKSBkbyB8aW1nfAogICAgICAgIGlt
Zy5wdXRzICJQNiAje0BsZW5ndGh9ICN7QGxlbmd0aH0gMjU1IgogICAgICAgIEBwb2ludHMuZWFj
aF93aXRoX2luZGV4IGRvIHxyb3csIHl8CiAgICAgICAgICByb3cuZWFjaF93aXRoX2luZGV4IGRv
IHxwb2ludCwgeHwKICAgICAgICAgICAgaW1nLnByaW50IHBvaW50LmNvbG9yCiAgICAgICAgICBl
bmQKICAgICAgICBlbmQKICAgICAgZW5kCiAgICBlbmQKICAgIGRlZiBoYXNfdmFwb3I/CiAgICAg
IEBwb2ludHMuYW55P3t8cm93fCByb3cuYW55P3t8cHwgcC5zdGF0ZSA9PSA6dmFwb3J9IH0KICAg
IGVuZAogICAgZGVmIHRpY2sKICAgICAgaWYgKEB0aWNrICUgMikgPT0gMQogICAgICAgIEBwb2lu
dHMgPSBAcG9pbnRzLmxvb3BfcmlnaHQKICAgICAgICBAcG9pbnRzID0gQHBvaW50cy5tYXB7fHJv
d3wgcm93Lmxvb3BfcmlnaHQgfQogICAgICBlbmQKICAgICAgKDAuLkBsZW5ndGgvMi0xKS5lYWNo
IGRvIHx5fAogICAgICAgICgwLi5AbGVuZ3RoLzItMSkuZWFjaCBkbyB8eHwKICAgICAgICAgIGxp
c3QgPSBbIEBwb2ludHNbeSoyKzBdW3gqMiswXSwgQHBvaW50c1t5KjIrMV1beCoyKzBdLAogICAg
ICAgICAgICAgICAgICAgQHBvaW50c1t5KjIrMV1beCoyKzFdLCBAcG9pbnRzW3kqMiswXVt4KjIr
MV0gXQogICAgICAgICAgQ2VsbC51cGRhdGUoICpsaXN0ICkKICAgICAgICBlbmQKICAgICAgZW5k
CiAgICAgIGlmIChAdGljayAlIDIpID09IDEKICAgICAgICBAcG9pbnRzID0gQHBvaW50cy5sb29w
X2xlZnQKICAgICAgICBAcG9pbnRzID0gQHBvaW50cy5tYXB7fHJvd3wgcm93Lmxvb3BfbGVmdCB9
Ci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