Write The Empirical Formula Calculator