Update Cache.java

Just needed to return a boolean for incoming messages if the acknowledgement is for the wrong core.