ensure that y is 0's and 1's with examples of each