structured programming samples