Be stricter on input and fail fast
Seems to run, but not correctly.

Changes include:

 * A main that actually takes params!
 * Remove the struct image, struct data is more than enough
 * A function to read from files
Fix lsb1