Python Create Random Hash Code