started implementing algorithms
nodes can be extended