Function that represents the main loop created. List of strategies as argument created