write method to shorten tweets in an array