Commented out malloc calls and related code. Replaced them with fixed-size
buffers.
Added write enable and status register read functions for flash storage.
Updated write_storage() to coreectly check for the end of the write cycle
between pages.