Implemented HDD writing to blocks lineary