Added first version of loop-2.js

doesn't work just yet!