improved math, i/o chunk, and math functionality

Added I/O chunks for indenting/alignment. Implemented GCD as a math algorithm.
Added locale functions for alphabetical and alphanumeric inputs.