add doc for slugsin and structured slugs

This adds a markdown document that describes the input formats of `slugs`, based on information from its source code and the examples, as well as experimentation. The conventions for naming bits of bitfields created by the `python` compiler to represent integers are also described. It is not guaranteed to not contain errors, so proof reading would be good. Nonetheless, care was taken to ensure correctness as much as possible.