Removed Ascii Encoding method calls and switched to casting chars to shorts, which works fine.

Added functionality to handled mixed-case strings.

Algorithm is complete.