Homeless 8-year-old boy wins New York State chess championship