Educational Developments in the Parishes of Beath and Lochgelly