Recreation of Rename exercise from python course