moving rmagic loading to last line in case it is not installed; removing a print statement and adding an import
edits after second lecture