A total of 22 schools across North Yorkshire have been forced to close for the day following heavy snow over the weekend.