Added a test to generate orphans in the file system

Added library of system calls that does error handling.
Started a utility file with gen_name