Moved all of the networking function to a new file

1)Moved functions listener(),client(),server(),broadcaster(),get_in_addr()
that have to do with networking to the file networking.c. Their declarations
are at file networking.h
2)Fixed the makefile so bcp can compile succesfully in its current form
3)Added a .gitignore file