Manipulating Text Files And Strings In Beginner Python