First of all I don't know how to write with correct notation in this site, sorry about that.
Second, I am a beginner with group theory so I am trying to solve this exercise (Fraleigh).
Until now I have a function that maps a permutation in $S_7$ to $S_8$ like this:
Suppose $\sigma$ , any permutation in $S_7$.
$5$ if $x=5$
$\sigma(x)$ if $\sigma(x)\neq 5$
Here I have the first problem, because I have two cells free: $8$ and the element that is sent to $5$ in $S_7$, so I maps like this:
$\sigma(5)$ if $\sigma(x)=5$
$8$ if $x=8$
So I would appreciate your help in this exercise, I don't know if this function is correct and how to prove if in fact is an isomorphism.