Cleaned up code in Client/Decode.py