improved code readability
solved the affine cipher