code: public static int[] mapToList(int[] bitMap) {
          int[] list = new int[(int)(bitMap.length * WORD_LENGTH)];
          Arrays.fill(list, 0);
          int j = -1;
          for (int i = 0; i < list.length; i++) {
              if (i % WORD_LENGTH == 0) {
                  j++;
              }
              list[i] = (bitMap[j] & (1 << ((WORD_LENGTH - 1) - (i % WORD_LENGTH)))) == 0 ? 0 : 1;
          }
          return list;
      }
docs: Builds a list from the given bit map.
  The list will contain values of 0 or 1s
  
  @param list
  @return