Brooklyn Public Library receives $400,000 grant from NY Life Foundation