Simple loop program