SPSS Python Extension function to create categories by splitting a continuous variable