Changed shape types

Just to get everything in order:
If the shape is detected to be 2 vertices, it's labeled 'l' for line
If the shape is detected to be 3 vertices, it's labeled 't' for triangle
If the shape is detected to be 3 < x <  10 vertices, it's labeled 'T for
Text
If the shape is detected to be >= 10  vertices, it's labeled 'c' for for
circle

then we do the shape inside shape, where:
If a shape with type 'T' has a line in it, it turns to type 'L' (for
Links)
If a shape with type 'T' has a triangle in it, it turns to type 'B' (for
Table)
If a shape with type 'T' has a circle in it, it turns to type 'I' (for
Image)
If there is nothing inside it, it just remains a text box.