adding Reto.java and Test class