implementing standard input, and fixing 'string' limit for large files. Also correcting conversion algorithms.