Add version 2 of overwrite function that uses comprehension.
Reset testing file for overwrite_comp function.
Add version 2 of rewrite function that uses comprehension.
Add testing file for rewrite_comp function.