Scientists have discovered that a vast river network was occupied the sands of the western Sahara desert.