Add compound.py

Signed-off-by: Akira Hayakawa <ruby.wktk@gmail.com>
Add CompoundVisitor

Signed-off-by: Akira Hayakawa <ruby.wktk@gmail.com>