Successfully Solved all problems of Matrix 2014 on code chef