Create rt_functions.sh

Commit #1