A new homeless shelter in Woonsocket was purchased by the city from the state, and added 10 new beds to the overall supply.