Format CalcRoots, Password, and RandomNumber.

@jdorweiler 

- Fix mixed line endings.
- Convert tabs to spaces.