added winning function, also switch Y's to O's doh