Rishabh Pant scored a ton on the Day 1 of the Edgbaston Test against England as India ended the day's play at 338/7.