This commit includes all features of the algorithm. It is the first completly working
version. Some txt files are added to show how to set up all the information the algorithm
needs to work. Still some test cases missing, particularly those related to the
balancing step.