Calculative Thinking Example In Programming