Added solution to codechef ONP problem