How to use all available pins on Leonardo (atmega32U4)

Hi, I see in the picture that there are more Acc connected pins, I have read this in different places also..... Problem I am having is working out how to reassign a digital pin, say pin 26 (pd6t1/0c4d/adc9).

I would really love to see some example code to do this....

I hope someone can help....