who invented chess in india