example how to compute various measures of complexity
...