we consider the key is 3 for all the cases
from question 1 to 5 encripton
from question 5 to 10 decripton