Extracted add_bucket_if_not_duplicate function
Extracted add_bucket_if_not_duplicate function

jacobq/csci5221-viro-project,jacobq/csci5221-viro-project,jacobq/csci5221-viro-project,jacobq/csci5221-viro-project,jacobq/csci5221-viro-project