started changing everything from C to C++, fixed issue #2
small bug fix in graph restore
updated API for relatedness
updated API of remaining files to C++
bug fix in restore