Added parent class RoutingAlgorithm to the Routing

All algorithms will derive from this class and only need to implement
thier own getPath and validPath functions