who discovered chess