array check for winning combination working.