from one array make two with only odd or even array's elements