writing systems developed first