Created BitSequence class and tests.