pin 5 is connected to 16 - I fixed that problem just after taking that photo, (basically I sent the earlier photo by mistake).
rw is connected to 5 because it didn't work when I held it to ground,
and another example in the exhibition posts had used it this way.
(2) According to LiquidCrystal lcd(12, 10, 11, 7, 6, 5, 4); RW is connected to Arduino 10 and LCD D6 is connected to Arduino 5.
I have misunderstood something here: LCD 6 should be connected to arduino pin D11 (aka atmega328 chip pin 17).