Tropical Nevanlinna theory and second main theorem