Added bounds checking on Hand constructor.
Fixed #2.