Added standard in and out handling

This is for the encrypt and decrypt methods at main entry point of
program. IT works fine when the input is even. Still need to implement
padding scheme