Python Dictionary key must be immutable, why?