Initial implementation of BitStream object (constructor) now working