Maitland Library celebrates 50 years as centre of community