Add for & while loop handling.
Add spectrograph example.