Implemented double-bounded cache
Minor syntax fixes