Partition Evens Before Odds - Coding problem | OneNoughtOne