Fixed the errors in the algorithm.
Added sourceCode. Removed double \includepackage.
Added links to repositories. jaremikb missing.