Refactored BList, and BDictionary
Added basic unit tests.