functions to create binary strings of our dataset