Add Hash Function For Set

Set was missing a corresponding hash() function which previously resulted in incorrect behavior with respect to other containers like Dict. This commit adds a basic hash function to fix this.