homoZygotTestCpp function

Function to check whether a window is (loosely) homozygous or not