wrote even/oddp functions, worked on arithmatic driver