Classifying two dimensional shapes by angles and sides