Completed decode.toy