This was an assignment of a course in IIT Kanpur. It should not be copied/take help from by any student of IIT Kanpur. Students should refrain from taking help from previous year's solutions for their own improvement.
Plus this assignment was an unsuccessful attempt. So anyway you will not pay much heed to it.