qdist: add module to represent frequency distributions of data