add docstrings to collatz and nextprime
add documentation and file output to fib.py
collatz.py: remove class, add docstrings