split graph algorithms file into separate files and create new graph executable