Added isLoopBody() algorithm.

Now it's inside the DataAnalysis class to make debugging possible.
Future considerations needed to find the proper place.