An inflationary model in string theory