Added genpoi example.