add the reset method implementation
add implementation of suivant() method
add implementation of add() method
add documentation