Star batsman Ajinkya Rahane scored his seventh Test century against the West Indies on the third day of the second cricket Test.