a project I wrote for a Comp sci course