Added example class for converting bool array to short