rtr working with multiple interfaces
refactored hash_table and fixed rtr
introduced tuple hashing in output