Classification of Two Dimensional Figures