according to the top part of the coding - there is no mention of pin 10
That is because the arduino pin 10 is not involved.
I think you are getting mixed up with what is a pin on your display and what is a pin on the arduino board.
here is how i have it hooked up...
#14 is connected to pin 7
#13 is connected to pin 6
What does the # denote? If it is an arduino pin then
resistors are connected to ground on breadboard to their digit led pin wire
The resistors should be connected to the arduino pin and the other end of the resistor should be connected to the appropriate segment anode of the display.