Modified for statement

Added basic information as well as sub section about determining exclusion of stop value.