Andy Griffith leaves TV legacy