got working functional recursive calc pi
attempted to classify number as even or odd