Upgraded number.py
Rewritten predict.py