Set up some PersistentHashMap functions in case I want to try to optimize with it again.
Added FSharpx.Collections dependency.