Create a new Java Project and add the jar "CpsAlgorithm" to your Build Path.
Then create a new Package and create a new Class.
That Class has to implement the Interface "cpsAlgorithm".
Your Class then has to implement the method runAlgorithm.
This Method gets a Model and the Controller.
You can access all Data via the Model.
The Controller has several Methods you can use as well.

Your Class should look something like the example in the exampleAlgorithm Package

Then in the program click on the Algorithm Button.
Go to your project and select the folder where your .java files are.
Then you can Select the Algorithm you want to use in the ComboBox, which then will be compiled.

Your algorithm will now be used.