Bools

Hi,
I've added ability to pack booleans and did a little refactoring in the pack method that makes use of Swift's pattern matching.