cleaned print functions and finished ls -R