Implemented new version with recursivity
New message regarding the usage of vectors instead of lists.