Fixed bug in hostname, now uses hashlib. Fixed bug in battery segment. charge and status were reversed.
Modifying hostname segment to comply with Python 3+