Fixed a bug in BitSequence
Use string constants instead of literals
Minor refactoring
Fixed changeBitSpeed bug