write_sessionInfo function

Write R session information for a script to a .txt file