Information Gain Python Codepad