Finished the even/odd part of project 2