Avg Percent and Memory Algorithms Working