Added two other helper classes and began with the implementation of the
algorithm.