Adds timestamped printing to screen

- Timestamps of printing to screen added.
Adds timestamped writing to file

- Timestamped writing to file has been added.