Added winn cheking for horizontal and diagonal lines