Added independent study code for accumulators