dex whipped the flashlight in the direction just in time to illuminate a heavy block of wood that had been dumped on the shore by the waves , the scraping sound coming from the pebbles as they raked against the bottom .