added modified version of horizontal 3 in a row check to account for opponents as well