going to test send instead of sendall
fixed size sending and receiving.
probably working now.
pep8 code styling, as mentioned by s1n4