Copied the ugly wordify string method to Program