- fix for shared memories

- communication between process via both shared memories is now fully
functional
- apparently there seems to be an issue with shm pointers if you create
it in a closed subroutine, so (for now) create shms directly in main
and pass the pointers to connector and thinker
- also there seems to be an issue with shm + struct with array
(pointer)
- only fix (for now) is pre define array sizes