Town votes to assist in YMCA land purchase