libstruct creates test program

Closes #44.