TESTED: Update FIXED: Update pass by reference. ADDED: else case for when bucket is full