Create GetVariable.c

The sys call for getting the variable