added a function in comments that checks board for winners using an array of winning combinations