To initialize the pins 0-10 the code should be:
DDRD = 0b10011111; DDRC = 0b01000000; DDRE = 0b01000000; DDRB = 0b01110000;
Arduino Leonardo Pinout