making array size a power of two and using binary shift for halving and doubling
using DPRINTF for debug messages
implementing doubling, havling, and tombstones
still testing arrays