NOTE: Here, we will notice that every number added with
b has a unique output. Thus, we see every arrow leaving from that number once and an arrow entering the number once. For example, when n=17, b =13, we can see an arrow goes
from 1 to 14, signifying when we add 13 to 1, we get the output 14. Similarly, we see an arrow originates from 5 and enters to 1, signifying when 13 is added to 5 in (mod 17) world, we get 1 as the output.