A Novel Genetic Programming Based Approach for Classification Problems