Added unittests.
Generating single component graph working.
Working and tested algorithms and utiltools.