better soloution for the four of a row game