Implementing IEnumerable<> for a custom hash table data structure to be able to use LINQ - C#