implemented enum printing
enum/bool encoding/decoding generalized: implemented in terms of the same do_encode/do_decode functions as with integers or composites
encode/decode/print message with enum dynamic array
printing invalid enum value as integer