Pi examples - first iteration (single file)