First version of user defined foreach works, this prints

1
3
10