Completed For and While loop creation.