Inflation with higher dimensional gravity