Beginning: Rick was memorizing all of digits of pi. Middle 1: rick knew it would serve a very practical purpose. Middle 2: Rick knew that it would serve no practical purpose. Ending: But he enjoyed it so much.