Add L2 and L3 caches.

L2 cache is private and L3 cache is shared. Right now it only supports two
L2 caches.