fixed while loop example
fixed some last small things.