working on the cipher package and function still trying to figure out what sort of datasturcture to be used for the input, output data