added encryptchars and format methods

encrypt creates a new array which contains a list of numeric values of
each letter in the text. The format method prints these numbers
seperated by a ':' symbol into the file