Implemented a few methods in the chunk class. A 64-bit machine is needed for further development.