Decided use a recursive alg to treat the diagram make of every option. Now tests seams like a good idea but i still think they are too much for a simple code(Suck XP programers #joke).