implemented print_bucket. Next step is to test it on the actual pulse generator to make sure its working