Addition of iterator functions to hattrie