Entity-attribute is the native format

The core algorithm requires its input to be in the entity/attribute format, so we might as well implement the other formats by translation to EA. This pull request makes this change, uses the lexicographic order of input values for the input/output translation mappings, extends the test, adds another set of sample data, and makes the README file more complete.