Factorial assignment \ implement image in pdf