City buys school property for parks