Sprint 1: Pi section implemented.