Do I have to implement published algorithms in the same manner as the original source?
You don't need to use the same programming language, but it would be wise to use the same data sets (if available), to check that you get the same results and to compare performance.  Of course, you may want to use additional data sets.