add group_by_odd_eve method using inject