Completed While loop

Added the ability to encode/decode a complete file. Pay attention to
command line arguments format for now.