rewrite function isNumber in toy.py. fix __LT__ function bug