assigning the respective values of alpha_init_k
for(n in 0:(2^K - 1)){
if(count_init_k[n+1] == 0){
alpha_init_k[n+1] = 3}
if((count_init_k[n+1] == min(count_init_k)) & (alpha_init_k[n+1] == 0)){
alpha_init_k[n+1] = 3}
if((count_init_k[n+1] == max(count_init_k)) & (alpha_init_k[n+1] == 0)){
alpha_init_k[n+1] = 8}
if((abs(count_init_k[n+1]-max(count_init_k)) > 5) & (alpha_init_k[n+1] == 0)){
alpha_init_k[n+1] = 4}
if((abs(count_init_k[n+1]-max(count_init_k)) <= 5) & (alpha_init_k[n+1] == 0))
{alpha_init_k[n+1] = 6}}