I have a python list of lists. The last \'column\' of the list contains a target variable, with the values 2 or 4. I want to convert these values into 0 (if 2) or 1 (if 4)