Added code to compute topk similar items.