Added entrySet method and nested class Entry