write the outer class to use the inner class
write the inner class
demonstrate using nested and inner classes