Demo of Solar System by nested class