Wrote the code for KVCache and KVServer. Need to figure out which exception to throw for each method