Create Functions.cc

Functions needed for the proper communication of seeders and leechers under network coding technique.