Added flush functionality

verified the correcteness of the multicore cache for a single core
By using the previous assignment realworld benchwarks like spice.trace, tex.trace
So basic tag computation etc are workign fine