Finished the main rebalancing algorithm; added logic to parse the Portfolio, run the algorithm, and generate and print advices if needed