Repaired and enhanced label positionning.
Changed the main file to test the algorithm on more labels.