Text Messaging (POTW) (moved)

This page has been moved to https://sites.google.com/view/programmingchallenges/cs-circles/text-messaging-potw

For extra challenge, use the provided doctest file to solve this challenge. (http://pastebin.com/fBSUXYMu)