Wrote program to find even and odd from a given range