Nested loops and onclick example and tutoral

Added a tutorial for nested loops in the for-tutorial. Added an example for creating buttons with onclick function with a tutoral