some algorithms for class projects