Sending arrays using sockets now implemented and working