finished refactoring method exercises
finished and refactored iteration exercises