Walking over 4 Gya: Chemical Evolution from Photochemistry to Mineral and Organic Chemistries Leading to an RNA World