when were writing systems first created