Updated some methods inside server.py and client.py. Resolving conflicts of buffer structure