Create encdec.cpp

This file contains the code of whole program. The class is also included in the same file. Just compile it and then it will run.