Update UsingHashesRedis.py

Also updated this script with 'with'. The code earlier was hideous if PEP-8 is applied. Sorry, Python!