Geometrical shapes in C programming?