3D visualization of graphene and carbon nanotubes using Python: a study