Structured programming logic - a flowcharting approach