Update analysis.cpp

Add a solution to a new storage type DIREKT.
Attention:
    when analyzing the distribution of codeword types in WAH, you should make sure that the idx files' names have the “wah” prefix.
    when analyzing the distribution of codeword types in PLWAH, you should make sure that the idx files' names have the “plwah” prefix.