Implementation of KL algorithm when k = 2