Change in classes Chunk and Entry a little bit. Converted the code for 64-bit architecture.