Pseudocode of Interest processing(Smart Flooding)