docs: function getStarMap(num) {
    	var ones = "",
    	    max,
    	    binary,
    	    starMap,
    	    mapper,
    	    i,
    	    j,
    	    l,
    	    map;
  
    	if (!starMaps[num]) {
    		starMap = [];
  
    		while (ones.length < num) {
    			ones += 1;
    		}
  
    		max = parseInt(ones, 2);
  
    		mapper = function (digit) {
    			return digit === "1";
    		};
  
    		for (i = 0; i <= max; i += 1) {
    			binary = i.toString(2);
    			while (binary.length < num) {
    				binary = "0" + binary;
    			}
  
    			map = [];
    			l = binary.length;
    			for (j = 0; j < l; j++) {
    				map.push(mapper(binary[j]));
    			}
    			starMap[i] = map;
    		}
  
    		starMaps[num] = starMap;
    	}
  
    	return starMaps[num];
    }