compute pi for fun and profit!
changes from class