Added some useful code

How to execute and read a terminal command in C++
Added code to add to main

Executes and reads the command to read the time from the RTC