added throw to destructor
moved array to struct
copy by value -> copy by ref
copy by value -> copy by ref
changed runtime_error in getBauteRate and characterSizeMask to invalid_argument
added defaultSleep