web app to flip strings and count characters