worked on smallestrectangle algo

Line and ModifiedGraham still need to be implemented properly