public static int[] countBits(boolean[] bitsequence) {
		int countArray[] = new int[2];
		
		for (int i = 0; i < bitsequence.length; i++) {
			if (!bitsequence[i]) {
				countArray[0]++;
			} else {
				countArray[1]++;
			}
		}
		
		return countArray;
	}