Local student wins NYS chess competition