Initial code for data logging
Fixed bug that used wrong starting address
Fixed data log replay function to exit when it should
Added log inti to main
Added clear option to data log command
Changed number from unsigned long to unsigned short
Added error for failed logging write
Re-initialize logging variables when clearing the log
Clear first flag after storing data to the log
Start replaying log at the last block that was saved
Added time to log structure
Moved time out of LOG_DAT structure
Print out time and flag info during replay
Reset block nuber when clearing the log
Fixed padding size and bumped log version
Fixed clear_log so that internal states are actually reset
Merge branch 'logging'

Conflicts:
	algorithm.c