added two arrays for odd and even numbers
finished phase 4