SLC vs. MLC: An Analysis of Flash Memory