Comment expansion

Expanded the comments in isDigit() to give a more indepth explanation