Understanding Base-36 Math
code.tutsplus.com