Iterate categories and print its link