Added a first implementation of for loops that still needs to be tested more.