how did ancient sailors navigate the globe