I am writing a cache simulator in Java, and I am having trouble figuring out how to calculate the index, offset, and tag of a given address. Here is an example of given inpu