More algo
log2n exercise