pid is now a parameter
procMems.c now stores the mem regions in an array.

This is for interacting with go: we just call this function to get all the
memory regions, and maybe then find a specific string.

The memory regions may change so we may have to take a different approach
in the future.