Segmentation of Heteropolymer Sequences Specifying Subsequences with Different Composition and Statistical Properties