Fixed traverse function inside predict ID3:
Bug was from using [,val] instead of [val]
i.e. accessing incorrect dimensions.