Added required methods in Franction Class. Done with Renan Salviato.