Added some solutions of codechef.com practice problems, updated some and changed a function in functions file.