Program is throwing StackOverFlow Ex. after resetting too often. -> Loading too much data while performing the recursion function.