Data Structure - Compressed Storage of Matrix (Code + Report)