saving changes
Added test runners in
Removed duplication in bit swapping code
Added a generic iff struct and reader/writer.