Bomb kills three in northern Iraq