Revert "Revert "Update and rename client.cpp to client.py""

This reverts commit aa76b8667479a182605a77b68d38eb0e428edccf.
Socket Creation

Added the code to create the socket