** Added isAlgorithmAvailable method into diffalgorithms/index.js which
can be used for checking whether algorithm is supported or not
** Added valid user check into file save
** Implemented api method for patching files