Parse and format IMM code
Switched to an internal representation in the corresponding cycling
group of integers for the simplicity of incrementing/decrementing
Added partial ordering as of a reference code, still easy thanks to the
underlying cyclic group of integers of order 4*10