all compound terms now share the same precedence
javadoc
added keysort/2 - resolves #21