Term Project for CSCE614 implementing Instruction Locking in Cache