Massachusetts turns recreational plex into shelter for homeless families, including migrants