working on shape.cpp