added has_won_vertical method