Moved bits around. Fixed makefile to compile test_protocol.c.