Added solution to codechef.com practice problems. Changed some functions and updated Readme