In which nation did mustafa kemal embark on a program of modernization after becoming the republic's first president?