Update 2

A folder was created for Java programs and C++ counterparts (with
slightly different algorithms) were added.