changed code struncture moved and added functions to private
changed tests to specific char arrays
added decrypt test