proof of concept SampleAlgorithm

A proof of concept that uses a class SampleAlgorithm that will iterate
over all nodes