Completed part 7 refactor reverse cipher