Update activity.js

Adding 'while' block
Update basicblocks.js

Adding 'while' block
Update activity.js
Update activity.js
Merge pull request #16 from drakosvlad/master

Adding 'while' block