Python 3.4 implementation of ID3 algorithm using numpy datastructures