lcd.print("hello, world!");
Bu kısmın loop içerisinde değil setup içerisinde olması lazım, lcd.begin komutunun altına yerleştirerek tekrar deneyin.