Update Receive.c

Actually wrote functions